[英]Read the Ticket data from a text file
I need to store a list of information (Lotto Ticket information example Name, Address, Phone number and chosen number) in a .txt file and convert it into java and create the ticket object from this information.我需要将信息列表(乐透票信息示例名称、地址、电话号码和选择的号码)存储在.txt文件中,并将其转换为 java 并根据此信息创建票证 object。
I'm struggling to get it working with the mix of string
and int
data types.我正在努力让它与
string
和int
数据类型的混合一起工作。 (Also some values have spaces like addresses that may contain 3 or more words) (还有一些值有空格,比如可能包含 3 个或更多单词的地址)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.