Java - Online Test - Static class - javasearch.buggybread.com
Interview Questions
Search
Legacy
Tests
Repo
Legacy
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Discussion Forum
Humor
Classes Search
Subscribe
Search Java Test Questions
223 test questions in repository.
Search
Java - Test Questions on 'Static class' - 2 questions found
Which of the following is not the difference between Singleton and Static class ( Class with static members only ) ?
Core Java
Only one object can be created for Singleton class whereas No objects are created for static class.
Singleton class instance is initiated using new keyword whereas static class instance is created using static method.
Singleton class can be serialized whereas Static class cannot be.
Singleton Class can participate in runtime Polymorphism whereas Static class cannot.
java
oops
singleton
design pattern
static class
Which of the following do you think is the primary reason you would never use a static class even the application doesn't need multiple requests or threads ?
Core Java
Serialization
Runtime Polymorphism
Lazy Loading
Memory
static class
static vs singleton
java
oops
objects
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus