Core Java Interview Questions
Questions Answers Views Company eMail

abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }

3 12711

java is puerly object oriented or not ?

5 5092

i need income tax program using java inheritance concept. could u please help me?

2 4012

difference between byte stream class and character stream class?

4054

why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?

2 3022

i need source code for income tax program using java inheritance

1 4094

What are the notations in Java?

Cap Gemini,

1 7920

What are library required to connect to excel sheet.

Cap Gemini,

2 5077

What is “try and catch” in java

Cap Gemini, TCS,

5 6489

Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.

Cap Gemini,

4 6625

public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why

2 3632

how to crate clint-server socket?

Accenture, Infosys, Infotech, TCS,

1 4228

how an we achive multiple inhetitance in java using interface..??

2 3767

how to connect two diffrent applet files

2395

I need help please send me reply: Write a program "if given a string like 'HAT', the combination's returned should be like ATH,THA,TAH in java"?

4 4425


Post New Core Java Questions

Un-Answered Questions { Core Java }

What do you mean by platform independence of Java?

519


Can a class be private in java?

514


Explain a few methods of overloading best practices in java?

482


What is anonymous inner class?

588


Can we change the scope of the overridden method in the subclass?

814






What is an immutable class? How to create an immutable class?

517


What is sizeof in java?

530


What is the use of arraylist in java?

506


Can a class extend 2 classes in java?

531


When does a class need a virtual destructor?

510


Explain jvm, jre, and jdk?

536


What is a line separator in java?

516


What is the difference between == and === javascript?

548


What is hash code collision?

568


Give me an example of array and linked list? Where they can be used?

534