Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8601573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:52:31+00:00 2026-06-12T01:52:31+00:00

I have a problem with some Java coding. I saw this coding while I’m

  • 0

I have a problem with some Java coding. I saw this coding while I’m studying Java and cannot understand it…
Below are some examples:

public class interface Set<E>

public class SocreManager extends ValueSortedMap<String,Integer>

The things that i cannot understand is the things inside the <> (in this example E and String,Integer )
What this <> mean?
I Googled and I still cannot find a answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:52:32+00:00Added an answer on June 12, 2026 at 1:52 am

    ClassA<ClassB> Stands for ClassA that is using generics – one of java features

    public class interface Set

    this means that Set will be somewhat related to some other type (E). Set is holder for some objects. If you declare it as Set<String> you can put there only Strings, or something casted to String. That’s the use of <E> here.

    public class SocreManager extends ValueSortedMap

    SocreManager is wrapper for ValueSortedMap it can add some new methods to ValueSortedMap but it also can add noting to it, and be used only as class name beautifier. If you add none features to SocreManager, than you will have everything the same as in ValueSortedMap but with shorter and simpler name – SocreManager. But looking at this name tells me that I will contain something more then just methods from super class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to java and I have some problem on Casting. I have
I have some problem with this mongoid. It's my first time to use mongoDB,
I have got problem while inserting some data in polish language(characters like ąćęłóżź) into
I have some problems with a java app i'm developing, i'm using HtmlCleaner 2.2
I am learning Java with Swing and I have some problems with using JTextField
I am just starting Java RMI and have some problems with when to use
I am used to Java and new to QT/C++, and I have some problems
I'm a beginner in Java and I have got some problems with the static
I have some problem to get the utf-8 string from PHP using jQuery $.load()
I have some problem with the cursor when using JOprionPane. I set a cursor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.