Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  SCJP Tutorial -1.5 Tips and Tricks programming Blog  > 

Scjp Tutorial -1.5 Tips And Tricks Blog


technoheads.blogspot.com
SCJP 1.5 and 1.6 Tips and Tricks, Mock Questions, Answers, Last Minute Revision Points, Links, Java J2EE Interview Questions and Answers, Java Programs
2009-07-12 09:10
Method Parameters:Types of Method Parameters in Java:a) Formal Parameters-->They are the parameters defined in the method definition.b) Actual Parameters--> They are the parameters def… Read More
2009-06-16 09:06
Types of variables1) Instance variables--> They are non static members of a class. Every object of a class has its own copy of these variables. Their values exist as long as object contai… Read More
2009-04-19 13:36
Section 1: Declarations, Initialization and Scoping a)Develop code that declares classes (including abstract and all forms of nested classes), interfaces, and enums, and includes the appropr… Read More
2009-02-11 09:41
What if the static modifier is removed from the signature of the main method? Or What if I do not provide the String array as the argument to the method? Program compiles. But at runtime… Read More
2009-01-18 11:34
Q1. What if the main method is declared as private? The program compiles properly but at runtime it will give "Main method not public." message.Q2. What is meant by pass by reference and pas… Read More
2008-10-13 07:03
1. A ____ object can store and retrieve “value” objects indexed by “key” object.Ans: Hashtable 2.Wrapper class objects contain mutable values. True/False?Ans: False 3… Read More
2008-09-09 09:03
The tips to attend the exam SCJP 51. Check for any obvious complier errors first like two else statements , accessing ofprivate variable/method , accessing a variable declared in a for loop… Read More
2008-08-09 13:05
Question 1 Given :public class Hello{private int i = j;private int j = 10;public static void main(String args[]) {System.out.println((new Hello()).i); }}Choose1. Compiler error complaining a… Read More
2008-07-06 07:26
In Object Oriented programming, for reuse and flexibility/extensibility you need to keep your classes specialized.In other words, a class should have code only for the things an object of th… Read More
2008-06-02 05:14
Q1 Select three correct statements.(1) A static method may override another static method(2) A static method cannot override a non-static method(3) A non-static method cannot override a stat… Read More
2008-05-06 18:35
Q 1What is the output of the following code when compiled and run? Select two correct answers.public class TechnoSample { public static void main(String[] args){ for(int i = 0; i System.out… Read More
2008-04-04 04:35
1. Evaluation and execution –remember that evaluation is from left to right butexecution is from right to left.2. There must be some statement after do keyword in do – while loop… Read More
2008-03-03 09:43
Q1class test{public static void main(String[] args) {test inst_test = new test();String pig[][] = { {"one little piggy"}, {"two little piggies"}, {"three little piggies"} };for ( Object []oi… Read More
2008-02-04 06:00
1] Try to give SCJP from Java 5 (SCJP 310-055) 2] If you are feeling that Generics/ Collection is tough then please read Java Complete Reference Book 3] I faced some difficulty while taking… Read More
2008-01-24 07:13
Q1 What is the result of executing the following fragment of code:boolean b1 = false;boolean b2 = false;if (b2 != b1 = !b2) { System.out.println("true");}else { System.out.println("false");}… Read More
2008-01-14 04:32
Ques1 Given:1. public class MyThread implements Runnable { 2. private String holdA = "This is "; 3. private int[] holdB = {1,2,3,4,5,6,7,8,9,10}; 4.5. public static void main(Strin… Read More
2007-12-29 13:50
1. Methods in object class· wait : throws interruptedException· notify· notifyAllRemember : they are final and must be called from within a synchronizedcontext, otherwis… Read More
2007-12-22 13:30
1) Will this work?public static void main(String args[]){RuntimeException re;throw re;}Ans -> No , compile time exception :: variable re may not have been initialized… Read More
2007-12-18 05:48
Exception Handling Defination :- An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions.There are 3 main advantages for exceptio… Read More
2007-12-14 07:18
Basic Lexical elements------->keywords & other reserved words*******************************************************************1. Access modifiers - private,public,protected2.other m… Read More

Share the post

SCJP Tutorial -1.5 Tips and Tricks

×

Subscribe to Scjp Tutorial -1.5 Tips And Tricks

Get updates delivered right to your inbox!

Thank you for your subscription

×