Unit VIII: Generics - Java Programming

Unit VIII: Generics - Java Programming

Generics was first introduced in JDK 5 and generic in simple term refers general. By using generics, it is possible to create a single class that automatically works with different types of data. A class, interface or method that operates on a parameterized type is called generic or generic class or generic method.

Generics – Java Programming

In this “Generics - Java Programming” you will learn about following topics:

  1. Introduction to Generics
  2. Properties of Generics
  3. Generics Class with Parameters
  4. General Form of a Generic Class
  5. Creating a Generic Method
  6. Creating Generic Constructor
  7. Creating Generic Interface
  8. Polymorphism in Generics


========== Point to Note ==========

This article Generics - Java Programming is contributed by Madan Raj Pandey Sir, a teacher of Dhangadi Engineering College.

If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at bcanotespu@gmail.com.

See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

BCA 5th Semester Java Programming Notes Pdf:

Unit I: Introduction To Core Java - Java Programming

Unit II: Applets As Java Applications - Java Programming

Unit III: Multi-Threading - Java Programming

Unit IV: Java Input/Output Packages - Java Programming

Unit V: Java GUI Components - Java Programming

Unit VI: Networking With Java - Java Programming

Unit VII: Java Database Connectivity (JDBC) - Java Programming


Hello, I am a BCA graduate. I have good knowledge of Blogger, WordPress, SEO, Content Writing, and Photo Editing. I also have expertise in Article Rewriting, Proofreading, Report Writing, Report Formatting on Microsoft Word, and other pdf files. If anyone needs help regarding these topics they can contact me.

0 Comments: