What are the two types of java programming?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Explain about instanceof operator in java?

0 Answers  


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

1 Answers  


I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?

3 Answers   KPIT,


Can you call a private data from an inner class?

6 Answers  


Is c better than java?

0 Answers  






What is a byte array?

0 Answers  


List the different types of classloaders in java.

0 Answers  


What is io stream in java?

0 Answers  


When would you use a static class?

0 Answers  


How to compare two strings in java program?

0 Answers  


Wha is the output from system.out.println(“hello”+null); ?

0 Answers  


what is platform dependent translation and platform dependent programming language

2 Answers  


Categories