
java-oop – programming-java – কুইজ মডেল টেস্ট অনুশীলন – 15
7884. all methods of interface are public and abstract
- FALSE
- TRUE
- Depends upon the compiler
- Depends upon the program
7885. Given this method in a class: public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append(‘<‘); buffer.append(this.name); buffer.append(‘>’); return buffer.toString(); } Which statement is true?
- The programmer can replace StringBuffer with StringBuilder with no other changes.This code will perform poorly. For better performance
- the code should be rewritten: return “<” + this.name + “>”;This code is NOT thread-safe.
- This code will perform well and converting the code to use StringBuilder will not enhance the performance.
7886.
…..inheritance is achieved using interface in java
- hierarchical
- multilevel
- multiple
- single
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।