Enter your keyword



Definition A string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers. It is comprised of a set of characters that can also contain spaces and numbers. For example, the word “hamburger” and the phrase “I ate 3 hamburgers” are […]


1. problemsolvingproblemsolvingprob . . . . . . Find the 2015th term in the series? Sol. Problemsolving = 14 letter word. So divide 2015 by 14 and find the remainder. Here remainder is 13. so 13th letter in problemsolving is ‘n’ 2. 4 men can check exam papers in 8 days working 5 hours regularly. […]


1. The figure shown can be folded into the shape of a cube.  In the resulting cube, which of the lettered faces is opposite the face marked x? a. c b. a c. d d. b Ans: a Explanation: If you fold the above picture at the dotted lines, X and C are opposite to […]

Garbage collection

Definition Garbage collection is an automatic memory management feature in many modern programming languages, such as Java and languages in the .NET framework. Languages that use garbage collection are often interpreted or run within a virtual machine like the JVM. In each case, the environment that runs the code is also responsible for garbage collection. […]


Definition In data processing, using an office metaphor, a file is a related collection of records. For example, you might put the records you have on each of your customers in a file. In turn, each record would consist of fields for individual data items, such as customer name, customer number, customer address, and so […]

Java Precedence

Definition Java has well-defined rules for specifying the order in which the operators in an expression are evaluated when the expression has several operators. For example, multiplication and division have a higher precedence than addition and subtraction. Precedence rules can be overridden by explicit parentheses. Precedence order. When two operators share an operand the operator […]

Strings -1

DefinitionStrings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. The Java platform provides the String class to create and manipulate strings. Example String str1=”Hello”; String str2=”Hello”; String str3=new String(“Hello”) //Using constructor. If(str1 == str2) System.out.println(“Equal 1”); Else System.out.println(“Not Equal 1”); If(str1 == str3) […]


Definition Swing is a set of program component s for Java programmers that provide the ability to create graphical user interface ( GUI ) components, such as buttons and scroll bars, that are independent of the windowing system for specific operating system . Swing components are used with the Java Foundation Classes ( JFC ). […]


DefinitionIn computer programming, a primitive (pronounced PRIH-muh-teev ) is a basic interface or segment of code that can be used to build more sophisticated program elements or interfaces. Example Primitive Data Types: byte a = 68; char a = ‘A’ int decimal = 100; int octal = 0144; int hexa = 0x64; “Hello World” “two\nlines”char […]


Definition Method overloading in Java is a programming concept when programmer declare two methods of same name but with different method signature e.g. change in argument list or change in type of argument. method overloading is a powerful Java programming technique to declare method which does similar performance but with different kind of input. One […]