What is data type example?
No Answer is Posted For this Question
Be the First to Post Answer
What is a nonetype?
What are the important features of Java 9 release?
java program with complete 4 oops concepts implemented example
hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class
What is java console application?
what is overloading in java?
13 Answers Ascent, DNS, Infosys, SDA, VelTech,
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
Why do we need main method to execute a java program?
In Java why we write public static void main(String args[]) why not main()?
46 Answers Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,
What are the main concepts of oops in java?
What are untrusted applets?
What is the method used to get the absolute value of a number?