I'm having trouble pinpointing the exact definition of a generic linkedstack class
Suppose I have

public class LinkedStack<T> {
 //some variables
 //would this be right
 LinkedStack(){

 }
 //for a generic constructor of type T for the LinkedStack class of type T?
}

Yes

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.